package com.sa.tool;

import com.sa.commons.constant.HttpSessionKey;
import com.sa.commons.web.mvc.interceptor.HttpObject;

public class HttpObjectTools {

	/**
	 * 获取当前用户
	 * @return
	 */
	public static Object getCurrentUser() {
		return HttpObject.getHttpSession()
				.getAttribute(HttpSessionKey.USER_KEY);
	}
}
